<style>
.switch{
	float:left;
	margin-top:10px;
}	
</style>
<?php

$this->breadcrumbs=array(
	'Folders'=>array('admin'),
	$model->name
);

$this->pageHeader = 'Folder "<em>'.$model->name.'</em>"';

?>

<?php $this->renderPartial('_header',array('model'=>$model)); ?>

<?php include '_detail.php'; ?>

<hr>

<div class="row-fluid">
	<div class="span3">
		<?php /** @var BootActiveForm */ $form=$this->beginWidget('bootstrap.widgets.BootActiveForm', array(
			'id'=>'svn-folder-form',
			'enableAjaxValidation'=>false,
			'htmlOptions'=>array('class'=>'well'),
		)); ?>

			<fieldset>
			<legend>SVN actions</legend>

				<button type="submit" class="btn btn-primary" name="btnUpdate">Update</button>
				<hr>

				<label for="iptRev">Revision</label>
				<input id="iptRev" type="text" style="text-align: right;" name="rev">
				<button type="submit" class="btn btn-success" name="btnUpdate2Rev">Update to revision</button>
	            <hr>

				<button type="submit" class="btn btn-info" name="btnShowlog">Showlog</button>
				<button type="submit" class="btn btn-info" name="btnInfo">Info</button>
				<button type="submit" class="btn btn-warning" name="btnStatus">Status</button>
				<button type="submit" class="btn btn-inverse" name="btnRevert">Revert</button>
				<button type="submit" class="btn btn-primary switch" name="btnSwitchToSelf">Switch To Self</button>

				<hr>

			</fieldset>
		<?php $this->endWidget(); ?>
	</div>

	<div class="span9">
		<?php include '_logs.php'; ?>
	</div>
</div>